public class Fu {
    public Fu(){
        aMethod();
        System.out.println("0");
    }

    public  void aMethod() {
        System.out.println("1");
    }

}
class Zi extends  Fu{
    public  void aMethod() {
        System.out.println("2");
    }
    public Zi(){
        System.out.println("4");
    }
    public static void main(String[] args) {
        new Zi();
    }
}
